/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Session;

/**
 *
 * @author Sebastian
 */
public class SessionData {
    
    private String nombre;
    private int rol;
    
    private SessionData() {
    }
    
    public static SessionData getInstance() {
        return SessionDataHolder.INSTANCE;
    }
    
    private static class SessionDataHolder {

        private static final SessionData INSTANCE = new SessionData();
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public int getRol() {
        return rol;
    }

    public void setRol(int rol) {
        this.rol = rol;
    }
    
    
}
